<template>
	<!-- 编辑弹窗 -->
	<a-modal title="施组(方案)审批计划项管理" 
	:visible="visible" 
	:width="1010" 
	@cancel="() => { $emit('cancel') }"
	@ok="submit"
	>
		<a-form>
			<a-row :gutter="24">
				<a-col :md="12" :sm="12">
					<a-form-item label="双优化名称" 
					:labelCol="{ lg: { span: 5 }, sm: { span: 5 } }" 
					:wrapperCol="{ lg: { span: 17 }, sm: { span: 17 } }">
					<BaseInput />
					</a-form-item>
				</a-col>
				<a-col :md="12" :sm="12">
				  <a-form-item label="方案类别"
				               :labelCol="{lg: {span: 5}, sm: {span:5}}"
				               :wrapperCol="{lg: {span: 17}, sm: {span: 17} }">
				   <a-select placeholder="请选择" @select="handleChange">
				     <a-select-option value="1">是</a-select-option>
				     <a-select-option value="0">否</a-select-option>
				   </a-select>
				  </a-form-item>
				</a-col>
				<a-col :md="12" :sm="12">
					<a-form-item label="计划实施时间" 
					:labelCol="{ lg: { span: 5 }, sm: { span: 5 } }" 
					:wrapperCol="{ lg: { span: 17 }, sm: { span: 17 } }">
						<a-date-picker   style="width: 100%"/>
					</a-form-item>
				</a-col>
				<a-col :md="12" :sm="12">
					<a-form-item label="要求审批完成时间" 
					:labelCol="{ lg: { span: 7 }, sm: { span: 7 } }" 
					:wrapperCol="{ lg: { span: 15 }, sm: { span: 15 } }">
						<a-date-picker   style="width: 100%"/>
					</a-form-item>
				</a-col>
				<a-col :md="12" :sm="12">
					<a-form-item label="内容概述" 
					:labelCol="{ lg: { span: 5 }, sm: { span: 5 } }" 
					:wrapperCol="{ lg: { span: 17 }, sm: { span: 17 } }">
						<BaseTextarea  :rows="4" />
					</a-form-item>
				</a-col>
			</a-row>
		</a-form>
	</a-modal>
</template>

<script>
	export default{
		props:{
			visible: {
			  type: Boolean,
			  required: true
			},
			model: {
			  type: Object,
			  default: () => null
			}
		},
		data(){
			return{
				objFrom:{}
			}
		},
		methods:{
			submit(){
				this.$emit('ok',this.objFrom)
			},
		}
	}
</script>

<style>
</style>
